/**
 * 图片懒加载
 */
import Vue from "vue";
import VueLazyload from "vue-lazyload";
import loading from "@/assets/images/loading.gif";
import error from "@/assets/images/engine_logo_error.png";

Vue.use(VueLazyload, {
  preLoad: 1.3,
  error, //图片加载出错显示的图片
  loading,
  // loading, //图片加载中显示的图片
  attempt: 1,
});
